[TOOLS] Improve information displayed by the xm sched-credit command.
authorEmmanuel Ackaouy <ack@xensource.com>
Sat, 6 Jan 2007 11:17:52 +0000 (11:17 +0000)
committerEmmanuel Ackaouy <ack@xensource.com>
Sat, 6 Jan 2007 11:17:52 +0000 (11:17 +0000)
commite975e81c9b5dd56d6746cbc395fe93f383eecfd4
tree57617b40f475155c4edc738aa5d641643ccbdea2
parent4d5aa6c3452e14976347c6b821756120a3f37d61
[TOOLS] Improve information displayed by the xm sched-credit command.

The improvement is as follows.
 1. The display form is changed like the xm sched-sedf command.
 2. When -d option is omitted, information on all domains is
    displayed.

Examples:
 # xm sched-credit -d vm1
 Name                              ID Weight Cap
 vm1                                1    512  100
 # xm sched-credit
 Name                              ID Weight Cap
 Domain-0                           0    256    0
 vm1                                1    512  100
 vm2                                2    512   50

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/xm/main.py